﻿using DFGK_WMS.Model.DTO;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.IRepository
{
    public interface IPDAStocktakingRepository : IBaseRepository<TStackingStorage>
    {
        /// <summary>
        /// 获取所有盘点单号
        /// </summary>
        /// <returns></returns>
        List<string> GetAllStocktaking ();

        /// <summary>
        /// 根据OrderSn获取盘点单
        /// </summary>
        /// <returns></returns>
        List<StocktakingDto> GetStocktakingOrdersByOrderSn(string OrderSn);

        /// <summary>
        /// 盘点单提交
        /// </summary>
        /// <param name="Items"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        bool AddStocktakingResult(TStocktakeResultRecorddtofengzhuang dto, out string message);

    }
}
